onClicked

abstract fun onClicked()

Invoked when a user interaction, typically a click or touch event, occurs on the associated template or a specific interactive element within it.

This allows applications to respond to direct user engagement with the template. The exact nature of what constitutes a "click" and what part of the template was clicked might depend on the template's design and the component generating this event.